import Vue from 'vue'
import App from './App.vue'
// 导入路由实例
import router from '@/router/index.js';
// 导入饿了么ui插件
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

Vue.config.productionTip = false
// 导入vuex实例
import store from '@/store/store.js';

new Vue({
  // 将vuex实例注入到vue的实例中
  store,
  router,
  render: h => h(App),
}).$mount('#app')